package com.link.tools;

import com.github.binarywang.wxpay.service.WxPayService;
import com.link.tools.wxpay.mini.WXMiniConfig;
import jakarta.annotation.PostConstruct;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;


@Component
@RequiredArgsConstructor
public class SpringBean {

    public static SpringBean bean;


    public final WXMiniConfig wxMiniConfig;
    public final WxPayService wxPayService;

    @PostConstruct
    public void init() {
        bean = this;
    }
}
